package com.suray.wcs.service.system.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import com.suray.wcs.service.system.bo.QueryMachineTasksBO;
import com.suray.wcs.service.system.entity.MachineTaskDB;
import org.springframework.stereotype.Component;
import org.springframework.stereotype.Service;

import java.util.List;

public interface MachineTaskService extends IService<MachineTaskDB> {
    IPage<MachineTaskDB> queryMachineTasks(QueryMachineTasksBO agvTask);

    int deleteMachineTasks(List<Integer> taskId);

    MachineTaskDB queryMachineTaskInfoById(Integer id);

    int updateMachineTaskInfo(MachineTaskDB machineTaskDB);

    void insertMachineTask(List<MachineTaskDB> machineTaskDBS);

    void updateMachineTaskStatus(MachineTaskDB machineTaskDB, Integer taskStatus);
}
